import Layout from '@/layout'

export default [
  {
    path: '/log',
    component: Layout,
    redirect: 'noRedirect',
    name: 'configure',
    meta: { title: '日志管理', icon: 'el-icon-tickets', roles: ['develop', 'marbles'] },
    children: [
      {
        path: '/configure/serviceNodeLog',
        name: 'serviceNodeLog',
        component: () => import('@/views/video/serviceNodeLog'),
        meta: { title: '节点日志', icon: 'el-icon-tickets', roles: ['develop'] }
      },
      {
        path: '/log/apiLog',
        name: 'apiLog',
        component: () => import('@/views/video/apiLog'),
        meta: { title: '接口日志', icon: 'el-icon-tickets' }
      }
    ]
  }
]
